These functions insert various R operators.
| Function | Inserts | Package associated with operator| |-------------------------------------|:--------------------:|:-------------------------------:| | insertArrowLR2_Addin() | <<- | R base | | insertArrowRL_Addin() | -> | R base | | insertArrowRL2_Addin() | ->> | R base | | insertIn_Addin() | %in% | R base | | insertMatMuliplication_Addin() | %*% | R base | | insertPipeline_Addin() | %>% | magrittr | | insertTeeOperator_Addin() | %T>% | magrittr | | insertCompAssignPipe_Addin() | %<>% | magrittr | | insertExPipe_Addin() | %$% | magrittr | | insertIfNULL_Addin() | %if.NULL% | spMisc[^1] | | insert_if_null_Addin() | %if_null% | spMisc | | insert_if_null_or_len0_Addin() | %if_null_or_len0% | spMisc | | insertNotIn_Addin() | %!in% | spMisc | | insertPaste_Addin() | %.+.% | spMisc | | insertPaste0_Addin() | %++% | spMisc |
The following functions may be useful for editing R Markdown files or,
if commented (#
), for structuring R code files.
| Function | Description | Example (first 10 symbols) |
|-------------------------------------|:--------------------------------:|:--------------------------:|
| insert_ss_line_Addin() | Insert single straight (SS) line | ----------
|
| insert_ds_line_Addin() | Insert double straight (DS) line | ==========
|
| insert_sw_line_Addin() | Insert single wavy (SW) line | ~~~~~~~~~~
|
[^1]: Available at https://github.com/GegznaV/spMisc.
| Action | Function | Text to edit | Result | |-------------------------------|------------------------|:----------------:|:---------------:| | Replace `\` with ` \\` | Back2doubleBackSlash() | c:\data\ | c:\\data\\ | | Replace `\` with ` /` | Back2ForwardSlash() | c:\data\ | c:/data/ |
These functions are useful for editing R Markdown files.
| Action | Function | Text to edit | Result | Interpreted in markdown as |
|----------------------------------------|------------------------------|:-----------------:|:--------------------------:|:------------------:|
| Enclose with single asterisk (*
) | enclose_with_asterisk() | italics | *italics* | italics |
| Enclose with single underscore (_
) | enclose_with_underscore() | italics | _italics_ | italics |
| Enclose with double asterisk (**
) | enclose_with_asterisk2() | bold | **bold** | bold |
| Enclose with double underscore (__
) | enclose_with_underscore2() | bold | __bold__ | bold |
| Enclose with single back tick (` ) | enclose_with_backtick() | code | `code` | code
|
| Enclose with single dollar sign ($
) | enclose_with_dollar() | equation^{inline} | $equation^{inline}$
| $equation^{inline}$|
| Enclose with single dollar sign ($$
) | enclose_with_dollar2() | equation_{block} | $$equation_{block}$$
| $equation_{block}$ |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.